let express = require('express'),
    app = express();
app.listen(8000, _ => {
    console.log('服务器启动成功');
});
app.get('/jsonp', (req, res) => {
    let {
        callback = Function.prototype
    } = req.query;
    let data = {
        code: 0,
        message: '连接服务器成功'
    };
    res.send(`${callback}(${JSON.stringify(data)})`);
})